// *****************************
// * Raamatukogu - Example Story  *
// *****************************
// settings.lua

if (SERVER) then

	function STORY:PlayerSpawn( ply )
		self.BaseClass.PlayerSpawn( self, ply )
		ply:ChatPrint( "You loaded the example story!" )
		ply:SitFor( 2 )
	end
	
	function STORY:HandleEvent( ply, event )
		if (event == "info_table01") then
			ply:ChatPrint( "This is a table." )
			self:SpawnItem( "room1_table4", "ex_medkit" )
			return true
		end
		if (event == "info_table02") then
			ply:ChatPrint( "This is also a table." )
			return true
		end
		if (event == "info_repeating01") then
			ply:ChatPrint( "This event repeats!" )
			return false
		end
	end

end